Any nonsterile material used in the fly cultures, including the flies themselves, can carry mold into fresh cultures. The usual remedy is to use tegosept (methyl paraben) which you can buy over the web. Flies raised on tegosept treated food should be safe to feed to amphibians. The approximate amount is 1 to 1.5 grams per liter (or 4-5 grams per gallon) of hot water. If you use cooked food, you can add it directly the mix before adding water.
A simple and cheap medium for raising fruit flies is potato flakes and brewer's yeast in a 10:1 ratio by weight. You can buy the flakes from any grocery store and the yeast from some pharmacies or any "health food" store. To use, mix the flakes and yeast together, put an appropriate amount in a container and add an approximately equal volume of tegosepted water. Add flies and plug the container. The medium tends to get soupy in successful cultures and you will need to add some solidifying material. I'm not familiar with excelsior but I should think shredded paper towels would work as well or better. I use sterile cotton soaked in tegosepted water and dried, but that's rather expensive and probably not necessary where multiple females are used to start the culture.
Some of the orchard fungicides would likely work just as well as tegosept but you would have to be careful to make sure flies raised on fungicide treated medium are not toxic to your frogs.
Bigfoot