Do not encode uint64 as an integer

Encode/decode as int64 instead and kill an Xcode warning.

/cc @efirestone @kyleve