You can help Pd by formatting your path var with forward slashes:
# Python path = path.replace("\", "/");
Once you've used [OSCroute] to get the pathname with spaces, use ZEXY's [tosymbol] before forwarding it on to the rest of your patch.
I did some testing and this is working fine for me with stefan kersten's OSC.py (http://user.cs.tu-berlin.de/~kerstens/pub/)
Let me know if you'd like examples.
Eric