in getExternalUrl - trim slashes from storage & file sync path

SUP-2490 time #4h
Merge pull request #1423 from kaltura/IX-9.19.0-SUP-2490

in getExternalUrl - trim slashes from storage & file sync path