Appends an attachment to the end of a program.
Program to edit.
Attachment to add. Its payload is stored in a buffer.
A new program; the input is left untouched.
Appends an attachment to the end of a program.