Cleaned up the write part of the IOVersion1