Removed off64_t, used uint64_t as it is already defined