When writing key files to disk, use the internally stored directory. Add an access function 'dst_key_directory()'. Most calls to keymgr functions no longer need to provide the key-directory value. Only 'dns_keymgr_run' still needs access to the zone's key-directory in case the key-store is set to the built-in key-directory.