Clear dirnames in os.walk to properly exclude