Fix long filenames