Fix file.contains: search for the string rather than requiring an exact match
In file.sed: "after" is not a regular expression
Merge pull request #3126 from djs52/develop

Small fixes to file.sed