Move sleep statement to fix intermittent test failures

We can ensure that our test does what we want by making
sure there's a couple seconds difference between create time
and file upload time.
Merge branch 'fix-windows-test' into develop

* fix-windows-test:
  Move sleep statement to fix intermittent test failures