I don't think `glob` returns any whitespace in the filenames. See:

http://pastebin.com/raw.php?i=MteZKzWN

Can you illustrate what is happening?