tdb2: unify tdb1_store into tdb_store