Fixes #9: int64 must be serialized in little-endian