Work around rule of dominance in FileStream classes.