fix generation of output file names from job title