Store and restore raw data for 64-bit integers, so we can reconstruct them on the other end.
This is necessary because Lua 5.{1,2} numbers only have 53 bits of integer precision, so
converting a 64-bit integer through the Lua number type is lossy.