Fix logging iolist to avoid pointless conversions. An iolist is a mixed list of characters, binaries, and lists; file:write/2 does the right thing.