Added support for custom headers in csv iterator