Fixed bug where FileDownload.total_bytes is not set for downloads except the first.