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').
wirhout openning type file structure became corrupted and we got 'Can't add torrent: torrent is not valid bencoding' error