OTA : Add the continue-download checking.

Before this patch, some error will cause by the download file has broken,
or the OTA file is not correct.

this patch will check the local file size and remote file size, if different,
it will delete the cache file and re-download.

Change-Id: Ie740cafec01d83d240e5b599feed213ffef9810b