check for download error and abort the install with an appropriate message if there was an error (fixes issue #26, see also #24 and #45)