Fix file corruption issue and infinite loop in euca_conf

Fixes EUCA-5743, EUCA-5745
Merge branch 'dev/agrimm/eucaconf' into testing

Conflicts:
	clc/eucadmin/eucadmin/configfile.py