Changes Stdin, Stdout, Stderr in prep for read