FindBug bugfix: 

Found reliance on default encoding in
org.molgenis.charts.r.RChartService.generateScript(String, Map, String):
new java.io.FileWriter(File)

Found a call to a method which will perform a byte to String (or String
to byte) conversion, and will assume that the default platform encoding
is suitable. This will cause the application behaviour to vary between
platforms. Use an alternative API and specify a charset name or Charset
object explicitly.
Findbugs bugfixen

Fix 1:
SVGEditor.java:212
Exception is caught when Exception is not thrown in
org.molgenis.charts.svg.SVGEditor.annotateHeatMap(HeatMapChart)

Fix 2 and 3:
SVGEditor.java:110, SVGEditor.java:107
org.molgenis.charts.svg.SVGEditor.annotateHeatMap(HeatMapChart) may fail
to clean up java.io.InputStream