Fix line endings in StatsCollector.java