Update plugin.coffee for new wintersmith API

Improved compatibility with wintersmith API.
Caused error: "error Arguments to path.join must be strings"