Error handling in globbing
Normalized empty and non-empty case for single file downloads.