Kraft Heinz has decided to keep open a site in the US it had earmarked for closure last year.