Allow append mode in writer task

Prerequisite for ufo-scripts PR [#16](https://github.com/ufo-kit/ufo-scripts/pull/16).

* [x] fix single-file offsets.