Add file descriptors by hand instead of with algo.

Turns out `std::foreach` doesn't take a pointer to member function as
last parameter.