unix: don't write more than IOV_MAX iovecs

Write no more than `IOV_MAX` chunks with `writev()` at
once, otherwise `writev()` returns EINVAL.