Include more parameters in the thumbnail md5 hash.

So updating the file generates new thumbnails.