ntpviz: use the Python csv module. Write tmp files instead of live ones
The Python csv module is clearly less efficient, but will guard against the csv file format breaking RFC4180. Also, write index.html and summary.csv to tmp files, then move them into place. This prevents clients reading partial files. The plot files still have this problem.