Use the following HTTP header instead:
Content-type: application/octet-stream
Content-Disposition: attachment; filename="filename.ext"
This will cause most browsers to pop up the file "Save as..." dialogue automatically. Note that you may NOT specify a path.