six expects a string or buffer