Handle weird characters in file names