Added bsdiff code.