Add escape_glob method for escaping brackets in paths that will be passed to dir

Related: benjaminoakes/maid-example#2