Fix not handling failbit/badbit in ifstream (Bug #1355)
Fix an always true condition (Bug #1355)