Fix rapper zombies and writer deadlocks.
Fix rapper zombies and writer deadlocks.

Take care that the pipe to rapper is fully closed when
we have no more I/O to do with it to avoid accumulating
zombie processes.

Aggressively flush rapper's output when when used as
as Writer.

ruby-rdf/rdf-raptor,ruby-rdf/rdf-raptor