correctly escape paths for windows