See comment here:
https://labs.creek.fm/open/sync-lib/commit/397ce4a19a556cd3116b3cc87c1aa3231446efba#63a1803ee34fe48e12773383f032dbeb80c86699_0_9