Fixed various exceptions thrown when a download via the background downloader fails