Fix md5 for gzip'ed content

MD5 is passed as value.md5, but this isn't valid
for gzip'ed files.
The MD5 must be updated when using the gzip option.
Merge pull request #8 from adamlwgriffiths/master

Fix md5 for gzip'ed content