Check archive length before uncompress step
Some small number of archives are incomplete, thus the check failed.
As we approach the googlecode deadline, the code is now:
- In case of check failure, check the archive's size match with the metadata.
- If mismatch, fetch the archive again and recheck.
- If failure, log it as failure.