better test for UploadedFile::from_hash.
in UploadedFile, don't use rename but mv to allow NFS mounts etc.