Fixed file open "rt" mode.