writer sink appends newline