Fix call to form-data, to allow the setting of filenames in the attachment