Make LevelDB API WriteBatches transactional.