Alter UTF-8 sequences for surrogates on Python 2.

This ensures that text will decode the same in our `bad_codecs` decoders
on Python 2 and Python 3. Fixes #21.