How do I generate and return a KML document directly to the browser without writing a temporary file to the server or relying on a 3rd party library or class?