added check for valid xml in check_nzbs.php