Fix UnicodeDecodeError in os.walk