Fix recently introduced SEGV in DOCFILE IStorage implementation