Support mtime for RWriteFile