Quote path args which may contain spaces, and fix unidiomatic if
Merge pull request #1 from purcell/patch-1

Quote path args which may contain spaces, and fix unidiomatic if