Refactor `_init_vio` to construct a dict that is
passed to `SF_VIRTUAL_IO*`.