Replace calls to @unlink with unlink_if_exists().