Fixed paths with spaces not working in some OSes

Resolves [this issue](https://github.com/mfaerevaag/wd/issues/23)