Allow directories through the gauntlet. Closes #167.