d8403d793f
This happens only in Python 2, as in Python 3 we receive the "badline" in the exception is already properly encoded Fix #578