Diamond Foods Inc. will pay $5 million to settle charges by the Securities and Exchange Commission for its role in an accounting scheme. The SEC said Thursday that it charged the San Francisco-based snack …