Potassium nitrate (the main ingredient of gunpowder) has historically been used as a preservative, particularly for curing meat. Some people might still use it, but these days sodium nitrite is more common.
Does anyone know if this happened (it seems a plausible idea to me)?