Make _syswrite loop zero-copy