Add GraphiteWriter.

fixes #3986