Merge changes I1d398d19,I8f20b3cd

* changes:
  adb: fix stat on Windows.
  adb: extract Windows bits out of directory_exists test.