Check the etag/checksum before downloading

When downloading we can check the etag that is the same as the checksum
before using bandwidth to download files.
Merge pull request #26 from gondoi/checksum

Check the etag/checksum before downloading