XD-689: fixed Copyright headers and removed null OutputStream option