Handle unicode in folder names (#4830).