[Bug 1134] endian problem (?) in registry loader