Thanks, Was able to verify that profile download (from GUI) now works as it should and doesn’t generate a html file.
I was not able to edit my earlier post to change the instructions, so people just need to read all the posts.
Also confirmed that I had to reboot the server for the Profile menu to actually pick up the new profile download script.