Don't call non-threadsafe code from thread in thumbnailer: Bug #742102