Failed joining unicode and none unicode paths

fix #1447