ENYO-2935: stop clobbering the filesystem with temp-files

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