Convert Unix path up to '/..', other join as is.