Clear the ifs stream flags in the outformat reader.

Otherwise the real format reader fails to read the stream in
rare instances.