For piping output to both stdout and a file/buffer. Used in the coming CLI rewrite.
`format` isn't an appropriate for this library, considering it (and future additions to it) will be mainly concerned with printing or capturing output.