Actually filter dirwalk entries

We pass in a filter argument via $f, but it never gets used.
Merge pull request #11 from hoelzro/master

Actually filter dirwalk entries