Revert removal of obsolete `handle_io_errors` arg. Still used by Sphinx.