fix issue with utf8 encoding in logger stdout