updated example from mailling list for streaming base64() output to system.out