I'll go ahead and commit this here...
this is just a helper function I've been using to write grades to a raw text file, to be used in conjunction with the restore_grades_from_file command