Check hash before upload and skip uploading identical files

This check the MD5 sum from the etag header and skips files that
have not changed. This should make the process somewhat faster and
more reliable.