Retry after getting a file from TFS if the status is not satisfying

Should improve reliability.
Hope it will fix #444
Encapsulate `NumFailures != 0`.
Merge pull request #664 from pmiossec/improve_reliability_fetch

Retry after getting a file from TFS if the status is not satisfying