Escape file paths for globbing

Fixes https://github.com/opscode/chef/issues/2078, replaces https://github.com/opscode/chef/pull/2087.

@opscode/client-engineers 
These two file modifications are also currently unused.  But since I've seen it twice, I'm doubting myself - am I missing something?