Move path methods from OFFile to OFString.