fixed a bug that could have caused appendfile to change the timestamp on...

... a file every time it was called