Fixes LOGSTASH-1860

- Fix bad 'method_missing?' name
- If writing to the pipe failed, open a new pipe and resend the event.
Merge pull request #1023 from jordansissel/LOGSTASH-1860

Fixes LOGSTASH-1860
Merge git://github.com/logstash/logstash