unicode fix for exception message

http://manage.dimagi.com/default.asp?121879
Merge pull request #98 from dimagi/unicode-fix

unicode fix for exception message