Adds support for spaces in path

Fails if path is detected.
Wrap most of the path in ".