Added piping to base64 stream encoder