Slight reformat of pathJoin