Ensure we log the error message when unlink() fails.