libmagic evaluation of a directory