Just moving some code around in preparation for an alternative sync implementation that can do bulk transfers by using `tar`. Signed-off-by: Milas Bowman <milas.bowman@docker.com>