fixes #4240 add support for chinese path on windows.