Convert to UTF-8 iff it's actually a string
Merge pull request #101 from dimagi/unicode-woes

Convert to UTF-8 iff it's actually a string