Make error output of dhparams and dsaparams app more consistent