[MRG] fix globbing

If a glob returns an empty list, then use the original string. This way remote file access will work with the various protocols where globbing would clobber the input URL. 

xref #102