minor cleanup of generate_vardark.py.