Add a whitespace after <name>: for better log file readability

The same has been added to the console log formatted, but omitted from
the log file formatter by mistake.
Close the log file when shutting down