Handle partial writes, instead of considering them an error.