server: set correct file mode and ownerschip of irc daemon log file (closes #140)