Better error for links that lack the trailing slash

Fixes #63