Convert paths to and from Unix and Windows formats.