corrected file.append test state

to not report modifications when file is in correct state