Update S3FileObject.java

Use separate temp file for upload so it doesn't get clobbered on detach.