fix(gulpfile.js): ensure all globbed paths are written in gulp.dest()

Some regression in one of the gulpjs dependencies has broken gulp.dest in
newer versions, and rather than require the use of an older version of gulp,
this solution appears to work well in its place.