Undo previous commit, crudely handle download error reporting.
Use the temp folder for download.