Minor refactoring: use defined KEY_DIR everywhere in openconext_custom_certificates