coursera: downloaders: Try to improve compatibility with Python 3.