Set file permissions on .nzb or torrent file. closes #1362

Thanks clinton