[GRASS-dev] d.mon using PIL tostring() (not used anymore), tobytes() to be used

I have opened https://trac.osgeo.org/grass/ticket/2815

@Anna, the calls to “fromstring()” need to also be replaced.