UnicodeEncodeError in default_error_handler