Use void* for mmapped_file.

#832