Builds the failure key ruleFileFailures uses.
ruleFileFailures
static String failureKey(String path, String rule) => '${staleIgnorePathKey(path)}\n$rule';