improved thumbnailer plugin

added a check if PIL can open/process the current file and skip if not
reason: if there are any non-image-files (e.g.*.db) inside the image-folder thumbnail generation at all fails