we can handle sizeof(off_t) and big endian architectures correctly. Testing and input from Rui Reis <rui@rui.cx> (maintainer), okay jolan@