Fixing a reported issue when using file.append to append strings to a file when the string contains an equal sign.  Also added the fix to file.prepend and file.write.
Merge pull request #14644 from garethgreenaway/14626_file_append

Fix to file.append