Fixed a wrong byte order handling on big-endian machines.

This will fix one of the bugs reported at #384.
This patch is very different from @jcajka's one. I have no intention to make light of his work, but I think that the problem essentially belongs to ```combine()``` function.