fn synchronize_filename(path: &Path) -> Result<PathBuf, Error>
Open the note file
path on disk and reads its YAML front matter.
Then calculate from the front matter how the filename should be to
be in sync. If it is different, rename the note on disk and return
the new filename.