Allow '\0' inside strings passed between Lua and C++