Clean up filenames.