encode Windows paths