There is a problème using firefox for download, you must use right click and save as (then rename the file).
I think there is some missing headers in your php file.
Something like this :
header("Content-Disposition: attachment; filename=nameofthefile.zip");
Hope it will help. :)