I think the die's purpose is threefold:
1) Just in case you need to do more processing after the unlink in the END block.
2) So that any caller of the script knows that the script exited with errors (i.e. not retcode 0).
3) So that the user is notified so maybe he/she can delete the file manually or find out why it couldn't unlink.