Refactored BerkeleyJe and HBase to use new Buffers