Made gen_address output its public keys in hex, allowing them to be passed directly to bitcoind's createmultisig command.