further fixes to phash mapsizing
Merge branch 'lmdb' into epdimport