stdin and stdout redirection now work.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>