dataciteutils: fix text encoding issue

* Fixes an issue where an already utf8 encoded string would
  cause an error when trying trying to re-encode it.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>