replace-database: it's safer to use second granularity in the timestamp

It's very common for me to have to run replace-database more than once a
day, but extremely unlikely that one would run it twice in a second for
the instance, so I think it's safer to have the timestamp to a
granularity of seconds rather than days.