Add directory validation for the downloads and attachments settings.