Revert previous two checkins to repair test failure.

The special-case code that was removed could return a value indicating
success but leave an exception set.  test_fileinput failed in a debug
build as a result.
1 file changed