Modified KML output to use streams rather then a big string.