This method returns an array of the directories formatted with each directory quoted. The Perl special characters are escaped.