Changes to support 32-bit loff_t