updating mtime in writefile and add utimes
test for utimes
docs for utimes