Rework encoding of ISAMB header info to make it machine independent.