Don't mmap stats files

To avoid getting killed by SIGBUS when a file write fails.
s/read/write/