Fix for the built-in raw_input not redirecting properly without readline loaded on Unix systems (http://bugs.python.org/issue1927)

Fix for the built-in raw_input not redirecting properly without readline loaded on Unix systems (http://bugs.python.org/issue1927)