fn existing_keystore_path( account_name: &str, dir: Option<String>, ) -> Result<PathBuf>
Validates account_name and resolves its existing keystore file in dir.
account_name
dir