42db6280e6
Since #10332 we'd create the temp file when closing out the puller state for a file, but this is inappropriate if the reason we're bailing out is that there isn't space for it to begin with. Instead, do the free space check before we even start copying/pulling. Signed-off-by: Jakob Borg <jakob@kastelo.net>