Add retries on cookbook file fetching