Don't attempt to load a nonexistant image when creating thumbnails
When given a path that doesn't exist QImage tries loading that path plus the extensions of all image formats it knows
This causes unneeded syscalls
We can check once whether the file exists and only attempt to load the image if we know it is there