Revert "Support for non leveldb books was broken"

This reverts commit e99f063ae3c78bfe533688199ee7218f137ee743.