Remove trailing dashes from the mime boundary.