Buffer writev() calls.

Resolves #825.