Handle spaces in path. Fixes #357. Thanks @g--n