devconf: encode log file as utf-8

The logging module defaults to ascii, in this case utf-8 characters will
be lost.