TempFile already uses TempDir by default
Use io.Copy to write an io into the tempfile