Add Dataset#write. Finally close #36