Fix scandir.walk() dirnames pruning (os.walk tests now pass on Python 2.7)
Remove unneeded osdefs.h (GitHub issue 1).