Allow excluding directories

This fixes #92.