--- drush-5.8/commands/pm/package_handler/wget.inc	Sat Dec  1 23:49:02 2012
+++ drush/commands/pm/package_handler/wget.inc	Thu Dec  6 01:07:08 2012
@@ -55,4 +55,9 @@
   }
   $filename = basename($release['download_link']);
+  // On Windows file name cannot contain '?'
+  // See http://drupal.org/node/1782444
+  if(drush_is_windows()) {
+    $filename = str_replace('?', '_', $filename);
+  }
   $cache_duration = 86400*365;
   $path = drush_download_file($release['download_link'], $request['base_project_path'] . DIRECTORY_SEPARATOR . $filename, $cache_duration);
