Change sync state tracking from multiple directories down to one directory.