It's rarely a question of just substituting one string for another in "binary" files. There are usually offsets and/or size information that needs to be updated as well, depending on the type of file. However, it's usually possible if both strings are of the same length.