Escape spaces in folder name so script won't fail

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