Slurp whole file before moving on

I was having trouble loading large images up for rendering under
node.js, getting:
"Error: Image given has not completed loading" errors. So change the
chunked reader
into a blocking file read solved the problem for me.