Allow --overwrite only if image timestamp is unique.

Closes #7.