Create a leveldb to store checkpoints