hpfs: endianness bugs