fixed a subtle bug with in-memory mode
Merge branch 'master' of github.com:GraphChi/graphchi-cpp