Handle return value of unlink