Fix a bug in ndnsec-keygen