Fix log of setting UTF-8 for file.encoding