quote paths for windows compatability

I believe I have found all of the paths to quote, but I'd love some other eyes to review my changes.  I think I correctly quoted the type:path paths as well as straight paths.  Since I had to change the tests for my new quoting it is possible I did something incorrectly.

Fixes #472