Fixes Issue#1705

If the current directory has spaces, the script fails to change paths and fails.