Switch from tokyocabinet to lmdb