Added workaround for except message in Unicode.

Related to http://bugs.python.org/issue2517