First pass at writev support