Apparently 3D files thumbnail differently from other file types, see https://wikidata.beta.wmflabs.org/w/index.php?title=Q350816&oldid=987424.
(File shown: https://commons.wikimedia.org/wiki/File:Mars_elevation.stl)Maybe we need to handle them specifically? Or not show a preview for them at all?