Get stats before & after writing file to disk