This diff utility is nearly working. The last char is getting dropped for some reason.