Python 2.6 doesn't have writeheader.