more consistant handling of path names