Thomas Foods buys into Frew