add_attachment_stream fix: added unicode string type support