Move the loading of the extra mime types to before the first scan of the directory