WIP: Escape spaces and parens in path

Closed Mark Pundsack requested to merge escape into master

Tries to fix #114 (closed) but is incomplete so far. Spaces and parentheses in the path need to be escaped in a few more places.