Fix UnicodeEncodeError

Fix bug when upload folder contains filename with unicode characters