Fixed log-file write utf8 symbols