A contamination crisis can infect a company’s balance sheet long after the food is gone.