Bug fixed in pipe-based impementation of nn_efd

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>