matplotlib/matplotlib — pull request #626 by Carreau (2011-12-13 17:27:19+00:00)
Title: Alway pass unicode string to io buffer

I came across crash in savefig, with Times font, and uselatex, and lots more options, complaining here that `value` was `str` and that it was expecting `string`...

This seem to do the trick for me in this case, even if I'm not really sure if it's the right thing to do.

I can try to get a minimal working/crashing example if you want.

Thank you.