Fix resyncing unnecessarily on windows machines.

Fixes issue: https://github.com/aws/aws-cli/issues/843
No other classes or functions use it.  Before the refactoring, there were two larger helper functions.  Therefore, it made a little more sense at the time, but now it is just a single line of code. I will change it.