fixes unicode error in course image filenames on /courses page