Drop the mipmap cache when a new db is created

This should make sure that no old thumbnails are used when the db is
removed but the old cache stays around.