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