Flexible timestamp formatting

- Don't touch the destination unless the dir exists and it's empty.

Signed-off-by: Mansour Behabadi <mansour@oxplot.com>