util/fossilize_db: various fixes.
The first one should fix some corruption we've been seeing with the single file caches. The others are just me being paranoid.
The first one should fix some corruption we've been seeing with the single file caches. The others are just me being paranoid.