Rework sync in dataspaces to support binary archiving

Signed-off-by: Scott Wilson <i@scottwilson.ca>