Pretty-print HTTP errors when downloading a file.