fix for filenames with weird characters