don't attempt to rewind null file handle