Hacky MTOM File Write Solution, Needs Cleaning. Tomorrow. Now for Beer.