title: gulp rename file in same directory
body: <p>I'm trying to minify and then create a copy without the "src." part of every index.src.php file inside any folder so I still have index.src.php available but a minified copy index.php:</p>
  
  <pre><code>gulp.task('usemin', function() {
      return gulp.src('./**/index.src.php')
          .pipe(usemin({
              inlinecss: [ minifyCss, 'concat' ]
          }))
          .pipe(rename(function(path){
              path.basename = path.basename.replace('min\.', '');
          }))
          .pipe(gulp.dest('.'));
  });
  </code></pre>
  
  <p>... so far this only literally renames the index.src.php into index.php</p>