overwrite_wim_inplace(): cleanup