Urlencode file name before passing it to cURL

Large file helper use cURL to determine file sizes. Thus filenames must be
urlencoded in case special symbols like '#' can cause BadRequest errors.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Merge pull request #11501 from Ansud/master

Urlencode file name before passing it to cURL