But for Edge it appears you rename a file and one more step.
Read https://answers.microsoft.com/en-us/edge/forum/all/edge-will-only-save-files-as-txt-file/7303ae5b-553a-44bd-80ef-cf3f01a0aabf
Until then, renaming the file after download appears to be a solid workaround.
I am receiving an email attachment as a pdf, which I am able to Preview, but when I download, it is saving as "Untitled"(.txt) instead of .pdf. I am using yahoo.com, it is being sent by Outlook. Others using sympatico.ca and gmail.com are having the same issues. I have tried retrieving in both Chrome and Explorer with the same results. Thanks.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic