Fix endianness of floats.

See #112.