Was skipping the overwrite in some cases, if the cmp function said the new and old already matched. We should always perform the overwrite anyway, since the cmp function may only be doing a prefix compare and the data may actually be different.