core: Execute PowerShell scripts even with spaces in dir [GH-3100]