Handle when sink buffer is killed.

@lunaryorn Do you mind take a look at this. If `standard-output` is a buffer that is killed, things get bad. I don't know why the buffer is killed in Cask, but this solved the issue.

I'm not happy with the insertion of a character to the buffer, but I don't know of any other way to solve this better. Do you?