fix datadir archive filename (month number from localtime() was not being incremented)