Move log:flushLogStream() to file:flushStream(). (dm)