We now no longer need to pass a 'raw chunk' to the write function

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>