Support selection of max date for historic exports

The optional command line parameter --max-date YYYYMMDD allows
one to create exports based on dumps up to a certain date, if
available (especially older dailies tend to vanish quickly).