LuaJIT FFI bindings to libmagic, magic number recognition library - tries to determine file types.