\r handling in text_reader
Support for .gitignore.