Fix download unread

Fixes bug with the interaction of bulk downloads and XSendFile.