client: add xhr2 file download
Merge commit '05ef9e7104ac5cad5841adf8'