Add file logging using winston.

Do not make it public yet, we need to fix log rotation first.
Time in nanos can overflow javascript Number. I believe they are planning to switch to millis. Then we can use number arithmetic.