[mmap] partial revert of 8cef8db4 to disable using mmap file reader