Lua binding to libmagic