Don't try to load a thumbnail from non-images

References #45