fix of bug with adding torrent file error

previous version code didnt work propertly on windows.
reason for this is missed binary type of openning file ('rb')