fix to do write-and-rename not to break existing dump file when program crashes
fix not to save server configurations into stats file
 * not to make users confused
 * to decrease implementation complexity
fix bug not to dump stats when stats file missing on startup