pub fn copy_file_with_dirs(from: &Path, to: &Path) -> Result<()>
Copy a file, creating parent directories as needed