Add tests (and data required for tests) for new code that enables retry
if we can't stat a file while using a file:/// index-url.