throw when writing to ended stream
Release 0.2.0