def open_path(path, mode='r'):
    """ Python < 3.6 doesn't support calling open on a Pathlib Path.

    Parameters
    ----------
    path : Path
        Pathlib path to open
    """
    return open(str(path), mode)