remove unnecessary (and buggy) BufferedInputStream wrapping