Doc Edit: Validate the new date before renaming the document

Signed-off-by: Jerome Flesch <jflesch@gmail.com>