map the correct size for the last segment
Merge branch 'master' of https://github.com/akhenakh/gozim
removed mmap, seems to be way faster for giant file ...