memfile: add Stat()