[cvs-nhc98] Reinstate the fast I/O implementation. Bugfixes: