Fix Mac filenames patch