don't drop the chunk if it was only partially written

update it instead while leaving it in the queue
use an offset instead of moving the data (if a chunk has been partially written)