Python script to handle dotfiles in a repository