Add error_callbacks for xhr failures when downloading images on chrome.