test(context): use t.TempDir() for SaveUploadedFile permission test on WSL (#4709)