add append for writer

Add support for append in write.
but it seems some format difference here.
What is a purpose of this class?