Treatment of the ends of flexible abrasive materials before connecting them