ENYO-2027: Fixed file corruption caused by fs.createReadStream some some files.

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>