Fix Download template as csv.

fixes #393