Redirect method now allows streams and file names, but we have to be
careful calling end() on streams that are stdio(stderr, stdout), they
can't be closed so we have to check if they are stdio streams. Currently
it checks a private accessor _isStdio, but we'll have to be careful with
it.