Perform the actual encoding. May return early if abort it called.
Parameters: out - Ouput stream to send the data to. throws: IOException - Thrown if anything goes wrong whilst writing
This method is used to encode kml + images and put all the stuff into a KMZ
file.
Parameters: out - the response is a Zipped output stream throws: IOException -