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

Change-Id: I1c4ff0087f0b81a366320757bb13f2b1c98aa7ed