shared-mime-info: add plugin to automatically build the mimecache