Fix command line filenames