Fix returning a buffer vs a string