Fixed gcode analyzing after file upload

Simple fix for issue #624