Treatment of fistulas and other perforations of gastrointestinal tract