feat(main): always append to file

Fixes #7