fix mercurial extensions directory permission