Properly forward end in deflate/inflate node version