Do not persist anonymous ids when exporting for all students of a course.

For large courses this causes exporting anonymous ids to take a long time and to time out. Creating md5s does not take a long time though. In my devstack it takes around 6 seconds to generate a million ids.

LMS-2747