Fix regression where generated key files are empty.
Pattern match on action.
Rename Slm4jTool to StsTool.