Fixed a longstanding issue when uploading files. also related to how
multipart form data is received (some of the boundary was caught up in
the content).  Solved.  svg thumbnails now work properly.