prova sotituendo questa riga :

header("Content-Disposition: attachment; filename=\"$nome_file\"");