Note, that built in parameter 'WriteResponseTo' forces the request to write the whole response to the provided path.
var req = Session.GetNewRequest('http://localhost:8080/minidoc.pdf');
req.SetParameter('WriteResponseTo', 'downloaded.pdf');
req.DoExecute();
For relative paths, it is evaluated from the current testing framework's root.