[megagol] add extract.cmd for running in batch