there is an option "encode spaces" to convert spaces to %20, that might be activated.
But if you want to copy tha filename for a link to paste it somewhere as url to access that file, you need to have the spaces encoded as spaces ' ' are not valid parts of an url.