Fixes #3841 - ancestor folders can now have spaces on Mac and Linux.
(In branch 3841-LaunchScriptAllowSpaces-2 for now.) @jhpedemonte: Please
review and merge into master if it looks good to you.