Download All feature changes attachments names

If attachments contain periods within their names, the names will be changed when the Download option is used. You can see examples in the following images.

How can I prevent this?