Update and rename scaledb.cnf to scaledb.cnf.tmp