Improve error handling when generating thumbnails for reports with attached videos.

Fixes some issues we've seen on Crowdmap when used in conjunction with a CDN.