Fixed crash in CESTIOMimeType if a directory is selected.
+ Made CESTIOMimeType warning more specific