Open log files lazy on first write.

In a shared logger configuration I would like to be able to open the log file streams just if they are needed.