Issue #902: Importing folders with dots in their names.

- Folder names should not be matched against validExtension.
Merge pull request #903 from superKoder/master

Issue #902: Importing folders with dots in their names.