confd does not leave behind temporary files
confd does not leave behind temporary files

confd leaves behind temporary files if there are errors during the
processing of templates.

Fix this issue by removing temporary files if errors occure during
template processing.

Fixes #288

rancher/confd,rancher/confd,glerchundi/renderizr,linearregression/confd,kgrvamsi/confd,monder/confd,elbidigital/confd,glerchundi/renderizr,elsonrodriguez/confd,alexnauda/confd,say5/confd,bacongobbler/confd,aledbf/confd,axingblog/confd,beni55/confd,israelchen/confd,elbidigital/confd,israelchen/confd,mboersma/confd,say5/confd,beni55/confd,mboersma/confd,nevermosby/confd,danesparza/confd,nevermosby/confd,chendh521/confd,kgrvamsi/confd,jnummelin/confd,philipsoutham/confd,linearregression/confd,Lineberty/confd,jnummelin/confd,axingblog/confd,aledbf/confd,crunchywelch/confd,Flipkart/confd,glerchundi/confd,crandles/confd,crandles/confd,kelseyhightower/confd,chendh521/confd,Ropes/confd,elsonrodriguez/confd,cloudnautique/confd,kelseyhightower/confd,blippar/confd,karthequian/confd,Flipkart/confd,alexnauda/confd,PrFalken/confd,karthequian/confd,zytek/confd,bacongobbler/confd,agilemobiledev/confd,tomdee/confd,shencan/confd,cloudnautique/confd,Fitbit/confd,gautamk/confd,openedbox/confd,PrFalken/confd,danesparza/confd,glerchundi/confd,cvrabie/confd,Ropes/confd,Lineberty/confd,openedbox/confd,monder/confd,tomdee/confd,okushchenko/confd,zytek/confd,okushchenko/confd,crunchywelch/confd,RichardKnop/confd,gautamk/confd,Fitbit/confd,RichardKnop/confd,philipsoutham/confd,Flipkart/confd,agilemobiledev/confd,blippar/confd,shencan/confd,cvrabie/confd