fixed mitsuba xml file generator to only output files for which indices exist