[buffer] Fix toString('base64')