pub fn write_recording( folder: &Path, scene: &str, stamp: &str, recording: &Recording, ) -> Result<PathBuf, String>