Check if file exists when generate thumbnails
Merge pull request #462 from Prims47/check-file-existence

Check if file exists when generate thumbnails