fix thumbnail for items with no mime type