Load file portability code for big endian.

Warning: only loads, doesn't save.
Portability saving fixes for big endian systems.

Saves should now be portable from big endian to little endian systems
though I need someone to actually test it to be sure I didn't mess up.
Merge branch 'big_endian_save'