A GET response saved to file. A temporary file is created and the
filename returned. The response will only be saved to file if the
status code is in the 200 range. The directory to download to can
be set using the application env var download_dir - the default
is the current working directory: