Restore UID rewriting which was broken in last commit.

(org-caldav-rewrite-uid-in-event): Actually rewrite the UID in the
buffer.
(org-caldav-update-eventdb-from-org): Use it.