using path#join everywhere to normalise