use path.join for 'views' setting. closes #1427