Fix for gcode upload issues with latest Octoprint.

Apparently the tornado server support in the latest Octoprint has issues data appearing after that last part of a multipart message.  (even though this is legal)  So I had to fix the multipart code to not include extra lines.