Added byte-safe InputStream reader from google guava.