All std::for_each has gone. uses for(const auto& ...) instead. 

Also it fixes travis-ci broken.
Uses `const` in FileUtils when it makes sense.