Fix passing a string vs a buffer to Jessy