fix(files): correct push file uri (refs #4438)

Uri encode all the parts of the URL