Unicode->Ascii conversion for writing splunk log file