configurable buffer size for reader

For CSV files with many headers, the reader needs a buffer size larger than 1000