Add retries to file operations for Windows.
Add retries to file operations for Windows.

BUG=chromium:663990
TEST=None
R=hinoka@chromium.org, nodir@chromium.org

Review-Url: https://codereview.chromium.org/2497503002

CoherentLabs/depot_tools,CoherentLabs/depot_tools