Merge "Implement a custom deflate sink function for bspatch"