shows how to use the xstream::base64::ostreambuf to encode an ordinary ostream into base64
it can encode from standard input to standard output or from file to file