fix a filename