US-based TreeHouse Foods has sold its McCann's Irish Oatmeal brand to local peer B&G Foods for US$32m.