Rewrite: rewrites env config repo and commits application cue files

We can build upon this tool to implement version to version migration logic.

Change-Id: I6066f565f118ca44ca3ce7a0ac7522258958cf25
diff --git a/core/installer/bootstrapper.go b/core/installer/bootstrapper.go
index 6b65096..9808676 100644
--- a/core/installer/bootstrapper.go
+++ b/core/installer/bootstrapper.go
@@ -347,7 +347,7 @@
 	if err != nil {
 		return err
 	}
-	if err := repoIO.Atomic(func(r RepoFS) (string, error) {
+	if err := repoIO.Do(func(r RepoFS) (string, error) {
 		w, err := r.Writer("README.md")
 		if err != nil {
 			return "", err
@@ -441,7 +441,7 @@
 }
 
 func configureMainRepo(repo RepoIO, bootstrap BootstrapConfig) error {
-	return repo.Atomic(func(r RepoFS) (string, error) {
+	return repo.Do(func(r RepoFS) (string, error) {
 		if err := WriteYaml(r, "bootstrap-config.yaml", bootstrap); err != nil {
 			return "", err
 		}