Use bash for install script and retain on failure

The actual install script needs bash, not sh. Use the provided bash from the binary closure.

Also, on failure, retain the downloaded files so the user can fix issues.