[bugfix] ensure uniform path translation on windows