messages: replace some instances of "folder" by "directory"

Authored by martinvonz.

Description

messages: replace some instances of "folder" by "directory"

I'm pretty sure this is our preferred term.

Differential Revision: https://phab.mercurial-scm.org/D6222

Details