Fix issues with accented characters and spaces in filenames/foldernames