Make sure temporary course directory uses safe characters.
Only permit ascii characters in filenames generated from course_ids.
Merge pull request #5517 from edx/brian/fix_export_course

Make sure temporary course directory uses safe characters.