filerelaytest: handle error when opening the output file.
Removed use of err() for Windows compatibility.
filerelaytest: request sources with a timeout of 0 to avoid timing out on larger requests.
Updated library version to 1.1.7.
Merge filerelaytest to master.