Introduced FinishApply stage for safety

- FinishApply-stage is a second updating stage which performs the
replacing of the files, if everything (hashes, etc) went okay