adding writev to glib IOStore