Write the HDF5 file offset to account for shells
Put in the Python testing code