More robust KML import