Vector instead of mmap to address malloc issue

Testing out:
https://github.com/cmsd2/dogecoin/commit/297cd8bba6da03d30c3f95e9467f394
2d78930e5#diff-d7618bdc04db23aa74d6a5a4198c58fdR898