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

Related: benjaminoakes/maid-example#2
Merge pull request #104 from mourner/patch-1

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