Use OpenCPPFile for iostream open without the ifdef's.
Merge pull request #6235 from xsacha/master

Use OpenCPPFile for iostream open