Fixed strings with / at the end

It turns out that in painlessfs.js, you should not place a trailing
/ at the end of your directories