Support unicode in course ids when dumping all courses

Fixes: AN-657