Now validates filenames in addNewFile, addGenomeRelease and addChainFile.