Retry for knox's headFile.
Log retries.