Fix chinese filename will crash.
Merge pull request #218 from CasperLaiTW/upstream-master

Fix chinese filename will crash.