Fix loading of GCode files.