tsv: fix reading snapshot file with DOS line endings. (googlecode Issue 431)