tehmaze/diagram — pull request #7 by yegle (2014-11-12 18:13:15+00:00)
Title: Fix: write to file should handle bytes

The previous code uses 'r' which I believe is a typo