Properly handle disposable TempFile