Exclude sub-folders using extensions.

The tmpl file supports two extensions jpg and png. Adding more will support
more extensions as tasks.
Merge branch 'master' of github.com:findsorguk/photomasking