implement Attachment#toString()