Make package.sh work for paths containing spaces