Initial commit for log-rotation & redirection to file:///

`p.output`should just be a `io.Writter` where we write everything that is produced by `p.Pty`