Generate missing thumbnails based on filenames.