File syncing in Go