Fix an UnicodeDecodeError in the twitter plugin