save a frame to disk