Updates for newer RocksDB
Bail out on error