add spatial index to shapefiles in a folder