Add check if mimetype is null before apply thumbnail frame

To avoid segfaults on file deletions
Merge branch 'master' of github.com:mate-desktop/mate-file-manager