The thumbnail cache now regenerates the image if the file has been modified.

Change-Id: I147b060d53c3af12c4ab3c3eef7466250377a75f