Embattled US snack food group Diamond Foods has sold a 16.4% stake in the company to global investment firm Oaktree Capital management.