don't 500 if thumbnail resizing fails due to corrupted image file
Merge pull request #3195 from dimagi/fix-thumbnail-500

don't 500 if thumbnail resizing fails due to corrupted image file