Fixed upload bug for product attachments.