stop calling vfs_open and vfs_close in loader code