Add support for 24 bit files by simulating 64 bit ints