revlog: close the index file handle after the data one...
revlog: close the index file handle after the data one
This make sure the data file is flushed before the index. preventing the index
to reference unflushed data.
Differential Revision:
https://phab.mercurial-scm.org/D10776