Handle corner case where we can reuse a temp file totally