Issue #28847: dbm.dumb now supports reading read-only files and no longer
writes the index file when it is not changed.