Check if a Node.js Buffer is utf-8