in getExternalUrl - trim slashes from storage & file sync path

SUP-2490 time #4h