Fix kml export so that any number of periods (.) can be used so
long as the last extension is .kml or .kmz.