Bugfix: Handle UTF-8 in logfile correctly