Clean up tests of file permissions in file uploads
Use std library for tempfile, tempdir

This removes the cf prefix for tempfiles
[Fixes #66221626] (#84)