Change behavior slightly for long-string

- If in Python3 and a str obj is passed in, encode it as ascii
- If in Python2 and a unicode obj is passed in, encode it as utf-8