OpenPGP: Write certificate for Gnuk.
pkcs15-openpgp: Change to sc_put_data instead of sc_update_binary when writing certificate.