Fix writing out retry info.