fix for paths with spaces on windows

Way too easy to miss
Merge pull request #2132 from WestleyArgentum/patch-6

fix for paths with spaces on windows