[Rakefile] Minor fixes to lint