fix torrent file mode