Fix long filenames.