Changed image writing byte order to LITTLE_ENDIAN
Changed image writing byte order to LITTLE_ENDIAN

Default byte ordering was BIG_ENDIAN, but integers in the file need to be in
LITTLE_ENDIAN.

jdellithorpe/torc-gremlin,jdellithorpe/torc-gremlin,ellitron/ramcloud-gremlin,ellitron/ramcloud-gremlin