Write rrdgen.py