fix "Arguments to path.join must be strings"
https://github.com/bower/bower/pull/1403