Replace all instances of certain strings in a text file to a new string - for wordpress conversion