Adding libmagic bindings for binary mime-type detection.