Use os.walk properly.

os.walk descends into subdirectories, so iterating over them is redundant.
Merge pull request #10 from ioga/fix-walk

Use os.walk properly.