Write corpus matrix into file (before computed)