Fix separator/pathSeparator bug.