fix str unicode bug in pyoauth2