Fixes rejection of invalid torrent files