Fix a CI failure with `FileUtils.rmdir` behavior changed Ruby 2.5 by koic · Pull Request #4971 · rubocop/rubocop

Currently Travis CI has failed to build ruby-head. https://travis-ci.org/bbatsov/rubocop/jobs/294862639#L682-L700 The error log is as follows. 1) RuboCop::ResultCache cached result that was saved...