Fixed bug whereby pausing a print then starting a new one failed to close the old GCode file.