convert a lagacy exception to a NotGenepopFileError exception