Issue 1248. Handle unicode characters in path names