fetch_coursera: add batch mode, fix file name heuristics, and fix some bugs