Use temp file in current working directory for download
As reported here, some queries can be large enough to exceed the size of /tmp. This MR sets the temporary query download file location to be in the current working directory instead.
A logged warning was also changed to info to address this issue. Lastly, the handling of patches without positions and grouping with the 'every' method was improved.
Edited by David Rafferty