Didn't RTFM on how _transform is called.
Buffer encoding fix.