Filter out directories when globbing
Merge pull request #1 from tschaub/file-filter

Filter out directories when globbing.