Use io:format("~ts", ...) instead of stdout

io:format with "~ts" seems to handle unicode iolist
correctly, so use it instead of port_command.
Merge branch 'master' of https://github.com/yjh0502/erlang-irc-bot