macx/scripts: fix osxdist.py and build-installer-overlay to work in a source tree path with spaces in it.