Unlink the tmpfile after copying.
Emit stdout & stderr only in debug mode.