Missing import mmap added

Missing import mmap added to support the following mmap: 
log = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)