Use File to avoid tempfile being GCed

* warden use rsync for copy in request
* found there is chance the tempfile will be GCed before warden rsync,
  even it holds the tempfile reference.