Fix #132:  enforce 64-bit ranges on long values for protobuf attrs.

See #132.
Except on Py3k, which doesn't have sys.maxint (ints are really longs).