refactor unpack-unreachable
fixup repack magic
freshen objects when writing