Ensure we overwrite a tdb if the hash size changes.