You're right. Use [`gulp-util`'s `replaceExtension](https://github.com/gulpjs/gulp-util#replaceextensionpath-newextension) instead.