Set download status to IOERROR when there is an I/O error.