Refs #7156: Fix lib/ Rubocop offenses.