Encode Windows paths for the C STL reader