Fixed "UnicodeEncodeError: 'ascii' codec can't encode character"

This hasn't been tested with CalDav servers configured to generate
non-unicode output.
Merge branch 'patch-2' of https://github.com/TimCinel/carddav-util into TimCinel-patch-2