Use io.Reader instead of []byte for attachment data.