Allow the export_course command to dump results to stdout

The export_course LMS command was only exporting to a file. By passing `-` instead of a file, the output is printed to stdout, which facilitates using the command chained to other utilities.