pub fn cleanup_frames(frames_dir: impl AsRef<Path>) -> Result<(), RenderError>
Remove temporary frame directory and its contents.