Fix leak when pack cache is rebuilt.
Only reload new pack files, and discard old ones when updating pack
cache.
Convert README to markdown.