Make sure generated KML is correctly UTF-8 encoded