Fixed .torrent regex

Changed so it matches when .torrent is at the end of the string