Tantalum capacitor molding process