Hello,
I was facing the same problem with bulk download. All bulk download was opening in browser instead of file download. In my case changing the theme was fixed the problem. It seems if some plugins does not communicate correctly with Moodle core, then such problem occurs.
Hope this will help you.