Make shuffle-exam Py3-ready