Use TempFSFile in UploadFromUrl

Make it a little harder for the developer to leak files in the temp
directory by managing the temporary file with a TempFSFile instance.

Change-Id: I8bafc3a6e6212781d9e2e4f8f370ce7c446f1fd5
Merge "Use TempFSFile in UploadFromUrl"