Wrap output only when not in pipe