Bug fixes <Karthik>
Support multi-line read