Use 64bits for file-offsets and nandimage_baseoffset.