ENH: Add swap endian facility in GenericIO