[python] Using os.walk() to recursively traverse directories in Python