No debugging in the final version - ta.
Remove trailing dashes from the mime boundary.