Prevent eio_write write zero-length data