Fix "bistream" typo and add a check in tools/patcheck.