bugfixing Writing_easyconfig_files

Signed-off-by: Fotis Georgatos <fotis@cern.ch>