update filesize in write, update modtime in read/write