messageinfo.py: Deal with Unicode errors in a more graceful way

Returning non-unicode string in case of conversion error just causes a
decoding error down the stream.
Merge pull request #3 from pasky/master

messageinfo.py: Deal with Unicode errors in a more graceful way