Added try/catch #5427

Enclose only this line in the try/catch, not need to include next lines: `xhr.responseType = 'arraybuffer'` shall be assigned in case if responseType was not changed.