updated luacodec.lua: add support for u8