Though it's apparent you have not furnished all the details to allow for suggestion of exact methods, I wish to ask some few questions amidst the answers already given by other members. For instance, are the fruits necessarily supposed to be dried whole or they could be sliced and dried?
As regards rotting, this is primarily due to presence of moisture (water) that still remains in the fruits after drying. If storage is meant for a longer period, consider using a method like an oven and perform continuous drying until the fruits are as dry as possible and as required in your next analytical step. Good luck