title: Save files relative to the dynamically determined base dir
body: <p><code>gulpjs/gulp/issues/</code></p>
  
  <p>I have the following structure:</p>
  
  <pre><code>|--&gt;view/
      `--&gt;foo/
          `--&gt;bar/
              `--&gt;less/
                 |--&gt;a.less
                 |--&gt;b.less
                 `--&gt;inner/
                     `--&gt;c.less
  </code></pre>
  
  <p>My <code>process.cwd()</code> is the <code>view</code> folder. The output that I want is:</p>
  
  <pre><code>|--&gt;view/
      `--&gt;foo/
          `--&gt;bar/
              |--&gt;less/
              |  |--&gt;a.less
              |  |--&gt;b.less
              |  `--&gt;inner/
              |      `--&gt;c.less
              `--&gt;css/
                 |--&gt;a.css
                 |--&gt;b.css
                 `--&gt;inner/
                     `--&gt;c.css
  </code></pre>
  
  <p>My <code>gulp.src()</code> looks something like this:</p>
  
  <pre class="lang-js prettyprint-override"><code>gulp.task('lessc', function(cb) {
      gulp.src('**/less/**/*.less').
          .pipe(less())
          // ... how to save files relative to the dynamically determined base dir 'bar'?
  });
  </code></pre>