Fixed an off by one error for outputting edit scripts of even length in binary