I found a nice utility to do the string replacements with. Its called FSRU
Code:
http://www.gammadyne.com/freplace.htm#download
Example of how well it worked for me.
Code:
OPERATION COMPLETE
Search string summary:
". TABLE_PREFIX . "user": 562
Number of files processed: 169
Number of lines processed: 94,729
Total number of occurrences: 562
Files with occurrences: 92
Lines with occurrences: 558
Elapsed time: 954 milliseconds
Processing speed: 99,296 lines per second.