Change to serialize/deserialize RenderedImage instead of gridCoverage2D.