fix(core): getFilenameOnFilestore() returns empty string if an ElggFile ...

...object has no filename set

Fixes #7517.