Generate sails.io.js from rootPath