rename the current 'read' method to 'readBytes' and use it to implement a 'read' method that returns a string in order to preserve bw compatibility.