gio: port to new VFS api