platform_utils: Fix exception handling in _walk_windows_impl

Change-Id: I6b79cbc4c1bbbe17ffe8361fe1544434beaa9059
diff --git a/platform_utils.py b/platform_utils.py
index b2cc245..8af25d2 100644
--- a/platform_utils.py
+++ b/platform_utils.py
@@ -313,7 +313,7 @@
 def _walk_windows_impl(top, topdown, onerror, followlinks):
   try:
     names = listdir(top)
-  except error, err:
+  except Exception as err:
     if onerror is not None:
       onerror(err)
     return