Revert "Prevent eio_write write zero-length data"

This reverts commit 1ddc4c4c79f6e1ab869e7287687cf9055de9b5bb.