[master 1/1] Do not replace the standard streams if not necessary.