fdo#80755 Don't generate thumbnails for encrypted files

Change-Id: If52532b8e8ca38e82fd95c13080d521d9cb529aa