pub fn create_and_canonicalize_directory( directory: impl AsRef<Path>, ) -> Result<PathBuf>
Creates directory if it does not exist, and canonicalizes its path
directory