Fix file.sed so it at least checks the diff

If the 'before' pattern is found, and sed is run, but there is no
difference between the file before and after, then we return False.