B&G Foods has announced plans to raise cash by issuing 9m new class A shares.