Script to replace arbitrary bits of a file in-place.