Fix for the dot in path support.

Missing a dot in the path fix... Look here for details. http://stackoverflow.com/questions/3400072/pathpattern-to-match-file-extension-does-not-work-if-a-period-exists-elsewhere-i
Merge pull request #17 from afterlifesol/patch-1

Fix for the dot in path support.