correct path utils behaviour on windows.