Fixed reading of integers of length > 32-bit.