add support for caf_file_close_diff so mocked CAF::FileWriter can report
contents differences with NoAction set