Support big-endian files