CAMEL-7099: Better make use of buffered I/O while unmarshalling.