Fix resyncing unnecessarily on windows machines.

Fixes issue: https://github.com/aws/aws-cli/issues/843