This behavior is because Firefox is using the MIME type of the file on the save as dialog.
Regarding your issue importing them - does renaming the ones in the ZIP to m4a not work? If the issue is mixed mp3s and m4as, you could use something like ffmpeg probe to rename them.