Gulp plugin to execute code just once for an input stream