Converts a Windows path (dir1\dir2\dir3) into a Unix path (dir1/dir2/dir3).
Also converts a cygwin "drive emulation" path (/cygdrive/c/dir1) into a
proper drive path, still with Unix slashes (c:/dir1).