ENYO-3285: do not build every input streams upfront, but upon need

Otherwise it breaks with huge templates (such as the possibly broken
moonstone one, that contains 16000+ files).

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>