Alla funzione get_headers passi come primo argomento il percorso del file da scaricare, e se fai come riporto sotto dovrebbe andare.

Codice PHP:
$headers get_headers($path,1)

header('Content-Type: '.$headers['Content-Type']);
header('Content-Disposition: attachment; filename="NomeDaDareAlFile"');
header('Content-Length:'.$headers['Content-Length']);