NXP-13884: synchronously add the 'Thumbnail' facet to documents with a non-empty main file