Move shell globbing into cmdline.py