Rename #download to #download_to_cache
Add quotes around paths in shell script code
Simplify install_dmg (retire path and pkg parameters)