ddfs_gc_node: avoid multiple ets table lookups.
ddfs_gc: introduce foreach_file.

It goes through all of the files and calls the call-back function for all of
them (just like the lists:foreach) without capturing their return value.