Fix #167 BufRead handler