make the log filename lower case always

this fixes an annoying bug where two separate log files will be written
if an irc client sends to channel #Foobar and another irc client sends
to channel #foobar.
Merge pull request #590 from FruitieX/master

Use only lower case characters in log filenames