Always use trailing forward slash in plugin dirs

Fixes #72.