fixed key export: now using big endian byte order for exported
keys, so they're platform independent when transported.