Use tmp conf files to prevent corrupting conf file on interrupt