Add newlines at end of file.
Ignore output binary in git.
Fix segfault -- buffer didn't have space for null-byte string terminator.