psqlbackup: fixed latest file creation for weekly and monthly backups