Implement a leveldb-backed journal