Use correct sererator when splitting paths