could be a nonsense but adding the .kml termination back to the name of the file? if it keep the data sctructure.
There are Gis tools to convert any kind of formats to .kml (Qgis is one of them) but in this case I think could be enough.
ButWait for better answer. it is just conjecture.