Create a custom SQLite virtual file system by implementing the Vfs trait and registering it using register.