Revert "FileEntry: Remove unused and half-broken copy ctor."

Looks like libstdc++ 4.7 still needs it.
[C++11] Simplify a callback to use a lambda.