dont use mmap in leveldb, this is a marginal performance hit

fail on short writes