Implement fake_writev for unit testing.