Rename gitconf and mercurial directories.