fix(builder): pipe envvars to temp file