course-migration.py script

@nasthagiri 
This repeats the code in `get_course_id_from_tar`.