Writes resulting line segments to a shapefile!