Added mysql escape attachments converter