replace bad filenames