Fix large int Marshal code and tests.