Adds locals from stream.

Feature intended for but not limited to capturing data incoming from
gulp-front-matter.