archive: use ModTime as proxy for LatestCommitDate (#836)
This is motivated by #832
We use archive index in our e2e tests. In order to test our latest improvements to ranking, archive index needs to set the latest commit date.
Test plan:
- new unit test
- I checked that the tar files downloaded from github have the correct mod time.