Make Mongodb the first option for thumbnail generation (same as for image generation).

Otherwise, if TKP-web is being served somewhere with access to the original
files, then it attempts to load them directly. And that functionality
is currently broken.