Updated 'str' cast to 'safe_unicode'

str() of form field value containing unicode characters causes UnicodeEncodeError.