Fix uri encoding

Create a calendar with a name, e.g. ŞĞİüö (some special letters) and
try to get the CalDAV link. Accessing the link gave not found error.