Properly translate file: URIs to paths on Windows.
Properly translate file: URIs to paths on Windows.

Uri.path returns the path component of the URI in raw form.  This
works on MacOS and Linux, but on Windows we need for drive letters to
be handled and for '/' to be converted to '\'.  To do this, we have to
use Uri.toFilePath(windows: ...).

This was preventing the index from being able to find source files,
which in turn prevented search.getTypeHierarchy from traversing
subclasses (since it finds subclasses using the index).

BUG=dartbug.com/20436
R=scheglov@google.com

Review URL: https://codereview.chromium.org//464583002

git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@39105 260f80e4-7a28-3924-810f-c04153c831b5

dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk