Content replacer now deletes the file rather than truncating in order to deal with weird characters