Make sure redirected stdout and stderr share the same offset
Make sure redirected stdout and stderr share the same offset

This fixes broken output like this:

  Error: No such file or directory - non_existent_file
  ee/src/tree-1.7.0.tgz
  Already downloaded: /Library/Caches/Homebrew/tree-1.7.0.tgz
  ==> Verifying tree-1.7.0.tgz checksum
  tar xf /Library/Caches/Homebrew/tree-1.7.0.tgz

sjackman/homebrew,pseudocody/brew,sjackman/homebrew,Linuxbrew/brew,toonetown/homebrew,MikeMcQuaid/brew,mgrimes/brew,AnastasiaSulyagina/brew,nandub/brew,reelsense/brew,DomT4/brew,konqui/brew,staticfloat/brew,gregory-nisbet/brew,ilovezfs/brew,reelsense/brew,zmwangx/brew,mistydemeo/homebrew,hanxue/linuxbrew,DomT4/brew,nandub/brew,claui/brew,alyssais/brew,reitermarkus/brew,mistydemeo/homebrew,AnastasiaSulyagina/brew,Homebrew/brew,amar-laksh/brew_sudo,Homebrew/brew,JCount/brew,rwhogg/brew,maxim-belkin/brew,DomT4/brew,bfontaine/brew,muellermartin/dist,Homebrew/brew,vitorgalvao/brew,reitermarkus/brew,ilovezfs/brew,JCount/brew,mahori/brew,konqui/brew,AnastasiaSulyagina/brew,DomT4/brew,claui/brew,nandub/brew,vitorgalvao/brew,zmwangx/brew,muellermartin/dist,EricFromCanada/brew,jmsundar/brew,rwhogg/brew,JCount/brew,Homebrew/brew,rwhogg/brew,tonyg/homebrew,mahori/brew,claui/brew,bfontaine/brew,mahori/brew,gordonmcshane/homebrew,ilovezfs/brew,reelsense/brew,toonetown/homebrew,sjackman/homebrew,palxex/brew,EricFromCanada/brew,vitorgalvao/brew,jmsundar/brew,MikeMcQuaid/brew,aw1621107/brew,EricFromCanada/brew,pseudocody/brew,JCount/brew,gregory-nisbet/brew,amar-laksh/brew_sudo,MikeMcQuaid/brew,Linuxbrew/brew,claui/brew,palxex/brew,gordonmcshane/homebrew,gordonmcshane/homebrew,reitermarkus/brew,hanxue/linuxbrew,mgrimes/brew,zmwangx/brew,maxim-belkin/brew,mahori/brew,staticfloat/brew,sjackman/homebrew,konqui/brew,aw1621107/brew,tonyg/homebrew,MikeMcQuaid/brew,mistydemeo/homebrew,konqui/brew,bfontaine/brew,gregory-nisbet/brew,toonetown/homebrew,tonyg/homebrew,jmsundar/brew,aw1621107/brew,mgrimes/brew,staticfloat/brew,muellermartin/dist,hanxue/linuxbrew,alyssais/brew,nandub/brew,vitorgalvao/brew,amar-laksh/brew_sudo,palxex/brew,pseudocody/brew,Linuxbrew/brew,maxim-belkin/brew,reitermarkus/brew,EricFromCanada/brew,alyssais/brew,Linuxbrew/brew