Fix failure to detect certain ambigious functions.

Remove support for C++ iostreams from textio.