Adding support for io vector write in IOStream::Device.