Windows compat path parsing