I can't download files from library after upgrade

After upgrading from 1.8.12 to 1.8.13 I can’t download files from library.
When I click on download button, browser opens the file in the same window (file is not saved in my pc).

If I save page with original extension all works fine.

My Environment
Xibo Version 1.8.13
PHP v7.2.19
Operating System: CentOS Linux release 7.6.1810.2.el7.centos.x86_64
Linux Kernel: 3.10.0-957.12.1.el7.x86_64
CPU: Intel® Core™ i7 CPU 870 @ 2.93GHz
RAM: MemTotal: 16163660 kB

upload_max_filesize = 5000M
post_max_size = 1000M
max_file_uploads = 50
memory_limit = 8000M
max_execution_time = 9400
max_input_time = 9400