Revert "Fixed path encode for unicode chars"

This reverts commit b9c52d6f663dca06ac1b7e004680c95f7f806f8f.