app: consolidate logic for syncing dotfiles into one place