Set response.bytes to length of bytes transferred.
Added download to file example.