Allow * in classification patterns to match directories as well as
files.

Fixes #106.