Changed TemplateIO.Write to "set" rather then "append"

The original "append" method is probably not really what most would
expect in that the generated text (client-side only) is appended onto
the specified node rather than set with innerHTML.  The innerHTML is
likely what most users would require.