Redirection: save stdout/stderr on stack.