The value of "kMDItemKind" depends on the language used in OS X. Should use "kMDItemContentType" instead of "kMDItemKind".