Converts the given path to the posix form.
On Windows, \ will be replaced with /.
\
/
String toPosixPath(String pth) => pth.replaceAll(r'\', '/');