Fixes for custom PyTransformation dir for Windows

Python doesn't recognize backslashes, so need to convert them to
slashes.