Ignore hidden folders

When a dir has hidden folders (with names that start with a `.`, such as `.svn` in older versions of Subversion), templatizer crashes. This patch makes templatizer ignore any file in a hidden dir.