Add append-to-file function

Defines files/append, a wrapper around node's .appendFileSync.
Almost identical to files/save: same error-catching and sent triggers.
Merge pull request #1192 from ndr-qef/file-append

Add native function to append to files