graphviz_draw(): fix encoding bug

This fixes issue #687
3 jobs for master in 108 minutes (queued for 2 seconds)
latest