Search and replace without corrupting php serialized strings.