Fixed #277 - Prevent sync concurrency

@humphd Normally, the path that was patched in the upstream sync is passed to the out of date clients. In this case, an upstream sync has completed, and there's no guarantee that the path of a previously interrupted downstream sync will be covered by the path of the new downstream sync.