RAT-204: Unify resource handling. * Module apache-rat-tasks ** Replace indexOf() with contains. ** Use IOUtils.closeQuietly in finally blocks.