save one frame to file