change offending filenames to temporary names