fs: pipe: Add reading code to pipe

And finally we should be able to read from the buffer.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>