feat: make setup_dotfiles robust