Using C++ iostreams, rather than C FILE*’s.

Work arounds for a few bugs in p2c’s code generation (when StructFiles=0) were put in-place.