ByteString and IOException