Irregular paths of exciting electrons and the intensity-time profiles of type III bursts