def METHOD_NAME(self):
    """
    Open file for writing, creating directory if needed
    File is created if necessary; chunks can be written to file at any
    location. Returns 0 if OK, -1 if error.
    """
    return utils.lib.zfile_output(self._p)