Fix #plugin#Install installing parent dir if path doesn't end with slash

Fixes #94.
Yep, this was #72.