Delete ilegal character in image data
Bug in the previous fix

In place change returns nil if the string was not modified