Fixed lua_tostring truncating at null chars.