Fix to multipart post handler