title: gulp task that dynamically create folder with name based on file name
body: <p>I have the following gulp task that is currently not working.</p>
  
  <pre><code>gulp.task('emails', function() {
    gulp.src('views/emails/src/**/*.html')
      .pipe(inky())
      .pipe(gulp.dest('views/emails/dist/'+debug()+"/html.ejs"));
  });
  </code></pre>
  
  <p>I would like to iterate over the /views/emails/src/ directory, find all html files, then use inky to convert them to html, and then copy the resulting html file to...</p>
  
  <pre><code>views/emails/dist/'+ folderName +"/html.ejs
  </code></pre>
  
  <p>where folderName is the name of the .html file that was processed.</p>
  
  <p>I need this in order to get the file structure in the format that the npm email-templates package requires.</p>