Bag closing sewing head