Fix file name
the page number was increment before it was use for the name