Updated 'str' cast to 'safe_unicode'

str() of form field value containing unicode characters causes UnicodeEncodeError.  Updating to safe_unicode per smcmahon.