NetLabel: better error handling involving mls_export_cat()