t indicates for text mode
https://docs.python.org/release/3.1.5/library/functions.html#open
on linux, there's no difference between text mode and binary mode,
however, in windows, they converts \n to \r\n when text mode.
http://www.cygwin.com/cygwin-ug-net/using-textbinary.html