Fix to have mmap not run amok