pub fn create_backup(path: &Path, extension: &str) -> Result<()>
Create a backup copy of a file by appending the given extension. e.g., create_backup(“file.py”, “.bak”) creates “file.py.bak”