New Io.Writer use for output redirection

There is not really one rule. If less performance in writes are not a problem to you, it doesn’t really matter. If performance in writes is a big problem to you, you should just try out and benchmark. Also Andrew wrote some recommendations here.