beam/examples/beamsh: simple 'log' command tees streams to a local directory