Fix unicode-related failures in CSV upload.

TNL-586
Merge pull request #5524 from edx/dan-f/fix-student-profile-csv-unicode-2

Fix unicode-related failures in CSV upload.