Switched the InputStreamReader to an InputReader to ensure that the
character encoding from the stream is Binary.