It may be possible that language/regional settings in your operating system cause problems - indicated by the special characters in the working directory.
Could you try changing this line to the line below and test if it resolved the issue?
tempDirName = "test123“