I find that carrots do not mold as quickly as potatoes. If you add , say 1/4 potato or 1/2 carrot and they eat it in a day, then try giving them a little more the next time.
If I was going on vacation, I personally would use carrot. The will be fine. I had a shipment of 2,000 mealworms...