Sri Lanka complete emphatic series win

South Africa are defeated 4-1 in their series with Sri Lanka as Tillakaratne Dilshan just misses a one-day century.