Ouch, that sucks. Never found anything in pre-packaged foods, but had a horrible experience with maggots a few months back. I'm from Northern Canada where your eyes freeze shut when you walk outside, so never had to worry about maggots.
Noticed they were in the kitchen garbage can one morning though, and started freaking. Tried to wake the better half up, but no chance over just some maggots. So I'm trying to get some work done, but all I can think about is these maggots in my kitchen. So I decide that's it, I gotta get them outside.
Not a chance I'm carrying a bag filled with live, crawling, hungry maggots though. Gotta kill them first. So I take a can of cockroach spray, and empty the whole thing into the garbage bag. Fuck, didn't work! It just pissed them off, and made them leave the garbage can. Now I have hundreds of maggots spreading out all over my kitchen floor. Fuck, fuck, fuck! Now I'm really freaking.
So I hope onto trusty Google, and look up how to kill maggots. Aha! It says boiling water + permetherin, which is in dog shampoo. I look, and sure enough, the the dog shampoo has permetherin in it! Now I got the fuckers!
Better half wakes up to moron me throwing pots of boiling water mixed with dog shampoo all over the kitchen, trying to win my battle with the maggots. Ugh... didn't go over very well. Got yelled and, so I just said, "well, next time wake up when I ask you! you clean up, and I'll take my laptop upstairs to work today".