Window stats output file bug