Fixed bug where paths given to glob were not properly escaped