Use internal open in chunks and text

Changes the ``chunks`` and ``text`` methods to use path's own ``open`` method. In this way, a subclass that overrides ``open`` does not need to modify the other methods to make them work.