Add output binary to .gitignore
Fix segfault -- buffers didn't have space for null-byte string terminator.