Fixed handling of Unicode characters in file names