Fixed unicode ElementTree writing.